package com.wages.project.system.dingding.mapper;

import java.util.List;
import com.wages.project.system.dingding.domain.Dingding;

/**
 * 考勤Mapper接口
 * 
 * @author wages
 * @date 2021-03-18
 */
public interface DingdingMapper 
{
    /**
     * 查询考勤
     * 
     * @param id 考勤ID
     * @return 考勤
     */
    public Dingding selectDingdingById(Long id);

    /**
     * 查询考勤列表
     * 
     * @param dingding 考勤
     * @return 考勤集合
     */
    public List<Dingding> selectDingdingList(Dingding dingding);

    /**
     * 新增考勤
     * 
     * @param dingding 考勤
     * @return 结果
     */
    public int insertDingding(Dingding dingding);

    /**
     * 修改考勤
     * 
     * @param dingding 考勤
     * @return 结果
     */
    public int updateDingding(Dingding dingding);

    /**
     * 删除考勤
     * 
     * @param id 考勤ID
     * @return 结果
     */
    public int deleteDingdingById(Long id);

    /**
     * 批量删除考勤
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDingdingByIds(String[] ids);
}
